<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script>
        var a = 100
        var b = "HelloWorld"
        var c = {
            name: "zhangsan"
        }
        var e = false

        var m = 1 + 1
        var n = 10 > 5
        var o = false && false
        var p = 1 << 1

        function func1(param) {
            console.log("执行func1函数" + param)
        }

        var func2 = (param) => {
            console.log("执行函数2函数" + param)
        }

        var i = 0
        var j = 1
        if (i > j) {
            console.log("i>j")
        } else {
            console.log("i<j")
        }
        var u = 0
        switch (u) {
            case 0:
                console.log("0")
                break
            default:
                console.log("default")
        }

        var v = 10
        while (v > 0) {
            v == 1
            console.log(v)
        }
        for (v = 0; v < 10; v++) {
            console.log(v)
        }
    </script>
</head>
<body>
<div>
    <button onclick="func1(a)">点击</button>
    <button onclick="func2(a)">点击</button>
    <button onclick="func2(a)">点击</button>
</div>
</body>
</html>
